package com.greatwqs.wmall.product.provider.controller;

import com.greatwqs.wmall.product.provider.service.ProductService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wang-qingsong
 */
@Slf4j
@RestController
@RequestMapping(value = "/api/wmall/product/version")
public class VersionController {

    @Autowired
    private ProductService productService;

    @GetMapping(value = "info")
    public String versionInfo() {
        return "Product Version 1.0.0";
    }
}